package cn.wolfcode.rbac.domain;


import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class Employee {
    private Long id;

    private String name;

    private String password;

    private String email;

    private Integer age;

    private boolean admin = false;

    private Department department;

    //员工所拥有的角色
    List<Role> roles = new ArrayList<>();

}